custom command bugfix