updat to fix overlay problems