fixing validation responses