update to depends and small fixes