fixed bug in import append