trying to fix device ready of first load