Fixed the ssec bug report #2, #3