Fixed function param to dir_