Fixes even/odd mistake