fix verifyImage to verifyImage() to prevent the conflict between java and scala