Title says all how do i make it so the obj is imported to the origin, it was working fine yesterday...
Any model imported will have it's coordinates where they are in the file. There is nothing to fix here since the problem is not in Blender or importing, but in the file.
Imported objects are selected after importing, so just after importing you can set the origin to its center of geometry:
And then you can snap it to cursor that you can place anywhere you wish: