fix for reset, i hope