fixed some smzg stuff