remove useless background code