fix for custom scales