removing empty code