fix view layout
2 prototypes with the detail return