put form actions at the right position