enable debug mode in align
add Adam's fix for no good alignment from contig to reference