set default for gear memory in case it is not set