Kspace style bug

Hi Lammps users,
I want to simulate MoS2 for studying mechanical properties.
For which I am using these input codes:-

This is not a bug. This is an input error. There is no point in using kspace without charges, and you cannot set charges with atom style atomic.

Axel