fnull to create null safer functions