rewrite cardview