fixed function attribute ordering