fix view alignment