fixed strange bug