fixed all masked radius code