add option to remove overlay for some situations