fix exception in gwt