removes inlines