Fixing AWS mistake