fixes color bug in form