Bug Fix in ad timing