fixed frontend problem