fixed avActions but now my writing won't dissapear on the press of enter