tryingto fix bug