fixed bugs with 2d