removes overlay correctly: