use single quotes
fix undefined variables
fix namespacing error