how to avoid ghosting