fix pocket detection

Signed-off-by: flar2 <asegaert@gmail.com>
Fixes