fixed warning on AWS