added rect in header