fixed random bug sorta