Fixing backend endpoint