tried to fix mesh stuff