Fixed eta logging and cleaned up a variable