removing unnecessary statement to check for empty value