fixing issue caused by python