ontabactivate fixed bug

Signed-off-by: bovitobo <bovitobo@yahoo.com>