Fixed minor commands bug