remove flask
with LinkItem
fix import