Catagory fix
Bug fixed, just need the next part of the categories working