changed init hook for essential ui