fix issues on Checking.java 

Closes #18