Fixing a class type error and adding work name to view
removing view change