Fixed code of command get