removed silly bug from advanced input