s4:ldb Fix declaration in the middle of the code