Fixed bugs

working, unless its not red.