fixed broken a tag
added log for function entry,