fix null pointer error

Change-Id: I0e44faee096bf245825f75d76dc3b127ed8dfc64
using entry.callback.apply() instead of entry.callback()

Change-Id: I939b747793c4d2980a1aba4f704a54576726257d