Fix broken code

Fix broken code
Remove redundant closing php tag