Fixed crashing in funweb