improved pastes layout