I did have a problem with this light; the listing showed it as hardwired but it came with a plug.