fixing drag n drop