Fixed bug related with get environments for project