Fix #374 Implement internal transition