switch from error to switch