Small bug vars not resetting