fix silly string/int bug