fix invalid command reference