bound error, bugfix