deploy the code to an AWS EC2 instance but still not working correctly