fix all pastproject layout errors