fixed invert color, now saves