better color handling / fix slicing