Fix a bug on mous views function