Fixed it by stripping off \n

DUH