fixing bugs in my features