Clean prepareView method