add onload and fix font settings