batch error fixed