few fixes
Merge branch 'working'