Fix error class of input and event page