fixed coordinates_to_bed in case of missing values