added fix for printf and comments.