fix import tags and remove import extension.