fix broken rendering