some adjustmensts in template