buttons for collection
fix some warnings