Fix the bug with project null