fix the order of comparison for dropout