bugfix for frontend