fix issuses

https://github.com/Atlantiss/AtlantissCore/issues/7717