Fix undefined

Fixed typo that was causing an undefined error

@andrewgarner