kill excess code