fixed bug with contentview frame