If the input parameters are not valid, just return a blank string