fixing length issue in secret key
stil fixing secret key env variables