AWS deployment issue fixed