merge for deploy 1) add logger 2) fix ranking bug