fixed styles of warnings on batches