_capitalize checks for empty str