remove unnecessary margin from samples