Fixing reference format error