server and dwn gpio tested and bug fixed