Fixed half the bug in temp get