Fix bug in mapping type