small improvements on view render