changes for error