fix on method, fix travis