fixed the tranisent issue