fixes for web setup on ubuntu