"fix a cast issue with comparing args inside cmd"