 seems it has issue of below errors: Cannot set properties of undefined (setting 'hide')