mismatch of expression outputs for different variables fixed