convert the init param to boolean otherwise 'true' or 'false' both evaluate to true as string