fix cat layout