Adding catgories to user sketch and bug fixing