fixed empty string method