fix for cmd