Add warning for unrecognized references

this PR fix the warning on any on recognize reference due to wrong formatting or wrong place. closes #38.
Space after `if` and before `{`