fix bugs with get command