fix type error - don't program late at night :/