fix for hardcoded white value