fixed defect 2994 imgexport/imgimport problems