Many fixes

To security levels