remove view code