correct setParam for import (fixes #4037)