minor bug and prints commented