findOrCreate type fix