fixed issue with initialized object