fix for empty project condition