fixed the bug of request.state['com.wm.customer'] being null