make renderin consistent