Are you using cable to feed Internet to the WAN port? Or using repeater?
When using repeater, wifi is always slow.
Also check if you are using 5G wifi. 2.4G wifi 50Mbps is normal. 5G wifi should be much faster.