add some rule fix bug