make append work with modules