changed view to limit buttons