return callback if there is a padding err