fixed a bug in render_all_disks, still is buggy