Fixed bug in design template