fix the add, edit, list layout