fix strmap leak