Register (2 from 2 commits)

- Fixed bug at value validating
- Added querys