fixed inlines bug