resolving 1bug from 3d