isuue #1235 - TypeError: objects is undefined