fix horizon gap