fixed as per Sam's recommendation