fixed an issue with settings secret key