minor fix on buggy seg