design logic fix