dress some errors