various frontend fixes