fix scope of routing attributes