throws an error when using server as config option