clean up leftover package code