added colorSpaces
minor fixes