move rs metadata above validation