make server.mappath work during app initialize