changed some errors