merge import function call bugfix