logging twice?