Changed error in documentation and few aesthetic changes