Used ugly hack to take care of compile error