now it works better on the web interface