Fixed incompetent bug