Directory error fixed