fixed #601 add comment function to note