if-else block was missing from raw template #204