validation function and two fixes for projections.json