Fix broken code
Remove redundant closing php tag
Merge pull request #24 from simonschaufi/bugfixes1

Viele Dank.