Templates correction