initialization on drop on canvas