comment function fix