Fixed bug. Was calling twice the same callback.