fixed webserver side of plugin