fix bgColor param handling