fixed some old cody stuff