minor fix to remove 'notice' warning