apr rebuild