applying possible fix to create overlay problem