Added a workaround for compiler error.