rmtmp function, gs alias