fix to print layout