Fix kopt command