general param handling improvements