fixed layout bug: