fixing bug while loading project

Signed-off-by: anti-freak <antifreak2011@gmail.com>