Add warning for unrecognized references

this PR fix the warning on any on recognize reference due to wrong formatting or wrong place. closes #38.