Firstly, this class is a temporary solution, right?
Secondly, I think this message says everything what is necessary to understand what is wrong (maybe except line).