Fix bugs

now this is full objective paint program!!