fix ghosting issues