removing the custom view mode from the .module file