Overcoming the impacts of two-step batch effect correction on gene expression estimation and inference