remove ref to mockapi