fix page:load events trigger