fix issues on Checking.java 

Closes #23