fixed issue with binding event