added rebuild check