On an internal wave equation describing a stratified fluid with finite depth