Fixing number callback being called twice