some warning removed