Fixed callback function error.