fixed bug when no projects available app crashes