clamped the map
final functionality changes but no ie support