syntax fixes for shape