fixed a config bug for !development