fixing PHP notice for undefined object property
line ending cleanup