replace getboolean by parseboolean