hot fix for undefined error of fallbackLocation