Removed a leftover undefined. Slight code cleanup