fix overlay exit