remove view logic