change default value of register status fixes #4