cleaning up server page