fix command-t bug