corrected view for current database ERM