i<=bug fix