bug with commands method