trying to fix aws bucket bug