make api consitant