Exception while changing pattern measure has been fixed