fix for mistake signaled by Patrick Mounteney