fixed lots of warnigns
Lang for backup