added class btn-sm to single buttons
fixed invalid variable