Fixes bug with no explanation