bug994722 - fix callback called twice