make sure that the command object is populated when doing completion