fix stupid programming issue