little fixes and new function deleteRows