fix "undefined lib" error

properties substring ends at symbols rather than “stage content”