Fixed problems and warnings in the projects