fixes regressions

yay for a dynamically typed language!