server cleanup, formating