removed erroneous error logger