fix ghosting