bug fixed
error at EOF bug fixed