fixed minor bug in relativelayoutpanel