Removed duplicate template loading