fix xhr success