remove noreturn annotation
fix unsigned warning