fix to views so that app can run.