allow autoboxing when comparing int and string

reference value was not removed from y-axis anymore.