some frontend fixes