Fixed directory changing bug