errors in rebuild view