list layout condition fix