fixed bug on shared overlay