some fixes with insets