bug with mapstatement