fix for getColor