bug fix mesh