Correct php warnings, corrected the color picket