Fixed bug in status. Updated FLAG_CREATED use