Make sure key is created before inserting info