Fix problem with security