fix accidently introduced bug