removed logics about drag and drop