improved monte
bug fix