fix code mirror