fix a struts null pointer