changed gets.c