test beforeInit hook
add afterInit hook and remove fixed el handling