fixed stupid setInterval error