fixing a crash andrew found