fixing a silly little bug