reconfigure

fix broken funcionality and reset