fixed problems with boundTo