fixed setting of lifecycle value