fixed boolean injection

boolean doesn't work work quite right when converting
from String