fixed: error if there is only slide