Fix problem with best_in_place