Caption crash bugfix