removed illegal constructions