Fixed try block using rebind()