cleanup up code a bit
typo