ways bug fixed