Fixed error methods.