bug fixed with moving