resolving initialization error