args not being set correctly