fixing get and contains of map