dot logic fix