fixed hardcoded vals and security keys