bug fixing on transition points