fix a bug in import controllers