fixed bug I created