Changed config parsing to avoid problem about next buttons with parameters