fix progess = null on sql server