fixes issue reported by johnny shields by email