Fixed uninitialized value bug in controller commands.