fixed cli inputs bugs