Fix jack code