add event to form
removed flexbox