aglar initialization issue fixed