replace stupid increment