Fixed value and out bugs