fixed zero value panic