fixed incorrect view render