Bugfixes inside frontend.functions.