some logging on setting preview size