Fixed KeyGenerator Variable bind order
Fixed SimpleMiddleware variable validation scope
Fixed typo in index.php