fix map plugin initialization and hardcoded values