Amendments will close zoning loophole