fixed several bugs concerning the webinterface