Fixed bug result=res*