handle null in data approve controller