fix layout issues with RBG