fix view components initializer