fix npe on non-existent place