[BUGFIX] Prevent javascript error in backend