nullpointer fixed, data size in webserver