solve a bug on Quilting
must use getframeRef instead of GetFrame