fixed major stupid bug