some bug fixes for unmapped reads