fix twist angle bug