fixing accept issue