Fixed bug related to ghost continuation