Fix revision layout
Fix deprecated call