Fixed linting errors in frontend