Fixed work dir error