fixin render method