correct <Undefined variable> Notice
correct spelling