Fix onResume imputs