fixed (not really) stupid bug