fix max buy