Wrapped get key in pcall so doesn't throw error