added compatibility with BLAT