minor fix on search units mixin