get: Fix invalid read