Bugs with onResume removed