removing unnecessary modules