color shouldn't be undefined