a little tweak to command errors