bug fix for empty string
version