fix ctrl+e behavior with tags