fixed reigster layout