hotfixed bug introduced by optimization aliasing -1 to 1