fixed caption to be optional, as intended