Crm 13857

done as per description : http://issues.civicrm.org/jira/browse/CRM-13857 .