fixed error with empty value, #5