fix bugs like images array bounds, Text widget getter and setter