fix compile on importwriters