Fix BED parsing issue, remove custom clint dependency