add onInit funct to fix fail on access preferences fomr drivers with when=ready