Bug solved

PLEASE DO NOT MESS MY CODE