fix rgsoc formatting and some styles