Fixed errors
Fixed namespace closure error