changes to mosinit_variable files, used listv count in error