fixing bug for the border color