fixed layout errors