fixed bug in recovering alignment where it wasn evaluating lambda, rather than calling it