handled some binding issues