fixed php 5.4 event_form warning and tab2whitespace