properly cast remember param