fix npe introduced in previous commit