added unload function to views