fixed a syntax bug that prevented a pic from load