fixed bug in mesh constructor