fixed weird configuraiton bug