external mappings getting called twice?