fixing calling on complex commands