fix the conf problem on AWS