small fix for issue where project is nil