Fixed some bugs in colidate methods