fixed bug in morph sample