faster process, smooth movement, bug fix