temporary gross conditional fix
slightly more readable template picker - may want to extract this logic into an object