Fixed bug with initialized status