removing console writelines