fixing issues with invisible directory