fixed test() in gdput