fixing the delta bug