bug fix for shape sys