not working sending metadata from server