fixing a previous commit bug