Fix Custom Errors