correct invalid properties