small fix to singleObject.php