small fixes; diff logging at dev