default needs to be last; backport fix from 4.0