fix syntax highlighting and fix overzeaolous clicking bug