Fixed "Invalid Character" error