Fixed hp code