fix view registers