Fixed lock, drag and edition

Signed-off-by: Julien Blatecky <julien1619@gmail.com>