bug causing = to mess things up