remove unused left-over code