fix map initialization