fixed nasty bug from super clever git