added type to button collapse