Fixed issues with map_title_to_attributes

Signed-off-by: hajee <hajee@moretIA.com>