fixed common layout bug