fixed return value in onAction call so that there is no latency problem in both "with tracker" and "without tracker" modes