modify wfs to add platform_code. ready to be merged