fix two errors :satisfied:
- fix a compiler error
- fix a debug error in vs2012 express