bugfix:  error if response contains less pictures than requested