fixes

added logging to prevent redundant downvotes