Bug fixes

Corrected namespace error and incorrect string terminator