normalize for typing