added and improved bind clear functions