fixes for getColor