Fixes template issue