Fixed a silly error

Thanks to Peter Holbrook for the tip