Fixed small bug left over from testing