fixing bug where layers can be imported without proper proj