Carrier inconsistent mapping and some coding style