bug fix. when editing existing levels