fix; command checking