further optimized

some bugs killed
Merge branch 'master' of https://github.com/sipslast/SIPS.git