fixed draw from template from