add check valid data, switch between projects