Fix documentation
Fix variable type