make getParameters available for server too