Fix typo of length argument for callback.