Attempting fix for log scale problem