Put caption in the right place