bug fixes

Fixed bugs with new version implementation in BLAST.