Fix for register_sketches