#294: command/profile: fixes a reference bug