removed print cmd cause it screwed stuff up in some cases