fd and select statement changes