Trying to insert NULL values and fail function