fixed handling of local transitions