fixed builder bug that created entity string map instead of counter resources