Fixed -c on error panic