Changed all error operations with new one