removed extra error log, log duplication fixed