Fixed latest ref command