mikrotik policy routing implementation problem with hotspot

i am using mikrotik policy routing implementation example found in Butch Evans blog but it doesn’t work with hotspot. the problem is that this policy doesn’t separate each line, if i log in as a customer my ip changes continuosly and instead it would be fixed to the group i have been assigned. If i deactivate hotspot it works very well !!!
Please help me !