fixed bug with new function set_next_type
drwxr-xr-x - Source