fix error on view and traslation