cut last 3char for encoded cmd;