remove console and alert