fix boundingrule issue