fix case sensitivity in print method command