fix bug: @server in core.clj should be defonce to avoid being overwritten during compilation