detail layouts fix