fixed contentView bug and xml image bug