fix layout.
fix export of active_record listings without scopes