fixed layout bug