Revert code changed that caused an error