remove zero entries line 94 and 100