fixes #27; also adds validator for alignment annotations