fix to stripe keys with whitespaces
fix strict standard issues