replace native show function