fix #6 initialize params to bool from int