fix for crap that didn't work as expected