This is what I get for commiting in a hurry. Needed more testing