fixed error on nil/blank source field

fixed error on nil/blank source field