removal of unnecessary modules