Fixes stupid bug