avoid overwriting the state for jetty 9.x if its already defined