fixed that effing bug