minor bug in the mapping