removed cast to fix potential compiler error