fix ram spacing issues