fixed unexpected return (LocalJumpError) error