fixing source template