A note on a beam equation with nonlinear boundary conditions