Replaced 'path' with 'real path'