fixed bugs
all error fixed