any non-string value of border cause php warning