changes for erroes