initialize objects and others to prevent crash