edited and fixed drop bug