fixed few examples and improved utilES