aligning return from lsh for patching