fixed glass-balls bug