bug fixes.

removed syntactic errors in output php files.