fix issue 332

I should not code at 1:30 AM ... stupid mistakes