remove unnecessary log and gem