Fixed nil sections issue