fix for uninitialized pockets