cleaned up credentials var