fix override with wrong visiblity