prevent crash due to this being undefined