how to prevent ghosting