fix bug which ignores necessary `project` dir