fixes rendering