temporary templateMapping fix for admin side; will come back to this after merging this branch