got rid of a bug I think