Add bugfix for warning in frontend