minor bugfixes on frontend