Fix interval bug displayed on template