bug fix. finally can run