Fix bucket pulling bug from ouicards. This was due to order of operation