fixed bug in SPSHGPanel for upload event