Stop to use panic
Fixed typo