remove unnecessary log functions