Fix command preview