fix one bug. there are more