added fix for old data without colour information