fix some minor frontend issues