Error Fixes and tent working