remove useless inlines, use anon ns