Solved the notice with undefined