fixed dir helpers