Fix entry api routing