Fix purchase with market