everything goes wrong when you have two working directory