convert paramters to booleans