Fix dim commands