fix imdb_mappings logic