Fixed the 502 gateway error