fix case sensitivity in print func command