changes for errors