fix map bug introduces in v0.0.5